package com.hlx.service.admin;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hlx.entity.admin.Station;
import com.hlx.entity.admin.Train;
import com.hlx.entity.admin.TrainNumber;
import com.hlx.entity.user.TrainNumberStation;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;


public interface TrainNumberService extends IService<TrainNumber> {
    public List<TrainNumber> getTrainNumberByName(List<String> trainNum);
    public List<TrainNumber> judgeTrain(List<String> trainNumber,Integer sequence,LocalDate date);
    public Boolean exitTrainData(String trainNumber, LocalDate date);
    public TrainNumber addTrainNumber(TrainNumber trainNumber,Integer distance,Integer velocity,Integer stopTime);
}
